/**
 * Created by ex-yanjun on 14-7-12.
 */
$(function(){
	$('.selul li').hover(function(){$(this).addClass('hovon')},function(){$(this).removeClass('hovon')});
	$('.selul li').on('click',function(){
		$(this).parent().slideToggle('fast').parent().find('.sel').text($(this).text());
	});
	$('.sel').on('click',function(){
		$(this).next().slideToggle('fast');
		
	});
	$("#competitionSeasonId").html($("#competitionSeason_li_"+$("#seasonId").val()).text());		    
});
function changeZone(zoneId){
	$("#zoneId").attr("value",zoneId);
	var seasonId=$("#seasonId").val();
	window.location.href="/ranking/schoolWebList.html?seasonId="+seasonId+"&zoneId="+zoneId;
}
function changeCompetitionSeason(seasonId){
	$("#seasonId").attr("value",seasonId);
	var zoneId=$("#zoneId").val();
	window.location.href="/ranking/schoolWebList.html?seasonId="+seasonId+"&zoneId="+zoneId;
}

